#define _CRT_SECURE_NO_WARNINGS	

#include<stdio.h>
#include<math.h>
int main()
{
    double a = 0, b = 0, c = 0;
    scanf("%lf %lf %lf", &a, &b, &c);
    if (a == 0 && b == 0 && c != 0)
    {
        printf("Not An Equation\n");
    }
    else if (a == 0 && b == 0 && c == 0)
    {
        printf("Zero Equation\n");
    }
    else if (a == 0)
    {
        printf("%.2lf", -c / b);
    }
    else if (b * b - 4 * a * c == 0)
    {
        printf("%.2lf", -b / 2 / a);
    }
    else if (b * b - 4 * a * c > 0)
    {
        double x = (-b + sqrt(b * b - 4 * a * c)) / 2 / a;
        double y = (-b - sqrt(b * b - 4 * a * c)) / 2 / a;
        printf("%.2lf\n", (x > y) ? x : y);
        printf("%.2lf\n", (x < y) ? x : y);
    }
    else if ((b * b - 4 * a * c < 0))
    {
        printf("%.2lf+%.2lfi\n", -b / 2 / fabs(a), sqrt(4 * a * c - b * b) / 2 / fabs(a));
        printf("%.2lf-%.2lfi\n", -b / 2 / fabs(a), sqrt(4 * a * c - b * b) / 2 / fabs(a));
    }
    return 0;
}